package org.example.exception;

/**
 * @version 1.0
 * @description TODO
 * @date 2024/10/14 23:24
 */
public class MyException extends Exception {
    private String code;
    private String message;

    public MyException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}

